package com.mls.fivedistrict.server;

import com.mls.fivedistrict.common.PageFilter;
import com.mls.fivedistrict.pojo.NewsComment;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 * 新闻评论 服务类
 * </p>
 *
 * @author Five Team
 * @since 2018-05-15
 */
public interface NewsCommentService extends IService<NewsComment> {

    List<NewsComment> getNewsComment(Long newsId, PageFilter pageFilter);

        boolean addLikeTimes(long id);
        boolean cutLikeTimes(long id);
        boolean addReplyTimes(long id);
        boolean cutReplyTimes(long id);
}
